package com.itheima.askme;


import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@Slf4j
@MapperScan(basePackages = "com.itheima.askme.mapper")
@ServletComponentScan
public class StartUp {

    public  static  void  main(String[] args){
        SpringApplication.run(StartUp.class,args);
        log.info("=====博客系统启动===");
    }


}
